libxl: add missing action in DEFINE_DEVICE_ADD
authorWei Liu <wei.liu2@citrix.com>
Wed, 12 Nov 2014 10:39:31 +0000 (10:39 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 14 Nov 2014 10:42:57 +0000 (10:42 +0000)
commit902dfd33da08169f08a593a4ef2c45d825cca8c8
treeafb333413fac19ee460e24180e2ee3294c73dced
parentf804eee318eeeb2fa5202f155c360ede02010d20
libxl: add missing action in DEFINE_DEVICE_ADD

... otherwise when device add operation fails, the error message looks
like "libxl: error: libxl.c:1897:device_addrm_aocomplete: unable to (null)
device", which is not very helpful.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c